package inherit;

public class Parent {
    public String name;
    public int age;
    public String gender;

    public Parent(String name, int age, String gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public void sing() {
        System.out.println("啊啊啊，啊啊啊，西湖美景，三月天");
    }
}